package com.ym.medical.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.base.enums.FlagEnum;
import com.ym.medical.enums.AskTypeEnum;
import com.ym.medical.enums.HandleStateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 帮助反馈对象 feed_back
 *
 * @author ym
 * @date 2020-09-01
 */
@ApiModel(value = "帮助反馈-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class FeedBackQueryParam {

    @ApiModelProperty("用户标识")
    private Long userId;

    @ApiModelProperty("问题类型（01其他）")
    @CustomConstraint(AskTypeEnum.class)
    private String askType;

    @ApiModelProperty("手机号")
    private String phoneNo;

    @ApiModelProperty("状态,01未处理02已处理")
    @CustomConstraint(HandleStateEnum.class)
    private String state;

    @ApiModelProperty("是否删除")
    @CustomConstraint(FlagEnum.class)
    private String deleted;

    @ApiModelProperty("ids")
    private Long[] ids;
}
